Questions tagged [http]
Hypertext Transfer Protocol (HTTP) is an application level network protocol that is used for the transfer of content on the World Wide Web.
http
68,370
questions
0
votes
0
answers
22
views
How do I get my M1 Macbook pro to trust Netskope cert?
My company recently installed Netskope on our machines. Now any HTTP request I make from apps I am running locally fail with the below error whether Netskope is enabled or disabled.
SSL_connect ...
0
votes
0
answers
8
views
Axios Network Error in React Native project - how to handle this issue?
At first I started to develop my mobile app using Expo, but then migrated the components (and generally the whole UI) to plain React Native (react-native). No matter what I am trying to do (e.g login, ...
0
votes
0
answers
14
views
When parsing data inside POST request body, what is the difference between using 'request.form' and 'request.get_json()'?
Situation description:
@app.route('/auth/audio/save', methods=['POST'])
def save_audio():
# files = request.files
resp_dict = {'message': "success"}
file = request.files.get(&...
0
votes
1
answer
28
views
Tomtom API search by street
This is something I shouldn't ask here, doubting that I will get too many answers, but I have no idea where else to look for an answer. The documentation is very light and there is not support offered....
0
votes
0
answers
9
views
Node.js Express Server with Axios and MySQL2 stuck in pending preflight OPTIONS request
I am developing a service system where the customer picks up a ticket to be served and the counter selects the ticket numbers of the customers who are waiting in sequence. It is a system that works on ...
0
votes
1
answer
15
views
Safe (HTTP Methods): POST with certain MIME types?
From MDN (Archive):
for HTTP request methods that can cause side-effects on server data (in particular, HTTP methods other than GET, or POST with certain MIME types), the specification mandates that ...
0
votes
1
answer
13
views
Okhttp Caching requests depending of them url and headers values
I have couple requests that return different results depending of header value. I implement caching mechanism for them and its working fine for different urls but okhttp is probably take only urls (...
0
votes
0
answers
12
views
Squid proxy not enabling HTTP request based on MAC address
I have a problem with Squid proxy not processing ACLs.
My IP is 10.26.98.4 and it is listed in restricted_ip_range
My MAC address is in MacExceptionList but when the proxy is ON I still can't access ...
-1
votes
1
answer
28
views
How to match path variables in wiremock urlPathMatching
I have this controller
@RequestMapping(value="/sayhi/{id}", method=RequestMethod.GET)
public ResponseEntity<Sting> sayHello(@PathVariable("id") String id) {
//code to say ...
1
vote
0
answers
45
views
Learning to write an HTTP 1.1 server, why does my server pause & surge with a high number of requests?
As a learning exercise, I am writing an HTTP server and trying to implement the HTTP 1.1 protocol myself.
When I run benchmarks that have a high number of concurrent requests that reuse their socket, ...
0
votes
0
answers
23
views
Flutter: Connection closed while receiving data only in emulator
I'm getting the error "Connection closed while receiving data" when trying to make a request (via Dio and HTTP), when the response is larger than 400kb. If it is smaller it works normally.
...
0
votes
0
answers
14
views
Why cant my aiohttp get request connect to the host but my curl get request works fine?
I'm trying to send a get request to my GCP Compute Engine instance using its external IP. I have a flask server running on the instance on port 5000 and the instance is configured to accept ingress ...
0
votes
0
answers
13
views
Immediate chunked data retrieval with HttpClient
I have HTTP server that returns data using chunked transfer.
I need to receive data as soon as it arrives, without waiting for the buffer to fill.
My current code is like
var httpResponse = await ...
0
votes
0
answers
9
views
Buffered HTTP streaming server sends previous frame instead of current frame
I'm developing an HTTP streaming server in Python that serves MJPEG frames. The server is supposed to stream frames from a buffer to connected clients. However, I noticed that the displayed frame is ...
0
votes
0
answers
27
views
Angular in kubernetes internal communication is failing
I happen to have a test project that is created in angular 17 and communicates with a python backend.
The thing is that I would like the communication to happen internally through the python service ...