Questions tagged [http]
For code that acts as a HTTP client or server.
410 questions
1
vote
0
answers
69
views
Go Program for Concurrent FHIR Resource Uploads – Does it Achieve True Concurrent Requests?
I’ve developed a Go program to benchmark a FHIR server by uploading a dataset of FHIR resources concurrently.
The goal is to stress-test the server by sending a specified number (...
0
votes
0
answers
28
views
HTTPHandler: Using lambdas to server specific paths
If you want all the code in a buildable format from the last 10 or so posts. You can find it here:
The PathMatcher object allows you to register paths with named sections of the path. But there are ...
0
votes
0
answers
16
views
WebServer HTTP Pynt Request/Response framework
The Pynt class defined the interface between the NisseServer object and code that handles input on a stream. This proivdes an ...
0
votes
0
answers
13
views
WebServer HTTP Response Object
The Response object is how the user sends an HTTP reponse back from the server. This object is provided to them via the Pynt ...
0
votes
0
answers
9
views
WebServer HTTP Response Output Stream
Handles streaming of the response body.
In construction you either pass a content-length value and the stream will allow you to send that many bites before cutting ...
1
vote
1
answer
33
views
WebServer HTTP Response Header
When adding header data to the response. We accept what the user is telling us and do no conversion of the data.
But: The Response object (and its stream) is going to handle the encoding/ transport. ...
0
votes
0
answers
10
views
WebServer HTTP parsing The Body
The StreamInput class is used to wrap an existing std::iostream. It is either provided a body length or the encoding type (transport-encoding: chunked). It will ...
0
votes
0
answers
25
views
WebServer HTTP parsing Request
The request object is given an input stream in the constructor.
I will parse the message command and the headers.
It then creates a wrapper around the stream so the user can access the body. This ...
0
votes
0
answers
4
views
WebServer HTTP parsing The Header (for the Request Object)
This class keep tracks of the HTTP headers that are being read from the incoming request.
Few special cases.
As per RFC 9110 Section 5.3 some headers can only ...
0
votes
0
answers
37
views
Interface Design for HTTP parsing / response
This is my first "real" attempt at decoding an HTTP request on the server side.
This is the interface I think should be sufficient. However, because I am new to the details I would love to ...
1
vote
0
answers
37
views
Parsing dictionary list from malformed HTTP response in Vim raw channel callback
Questions
Are there edge-cases that I've missed?
Do HTTP response header values ever contain JSON-like data?
Any style pointers related to code readability?
Are there other/better Vim (versions 8 or ...
4
votes
1
answer
107
views
Writing a HTTP server in C
Code
...
4
votes
0
answers
120
views
A simple local API proxy
Recently I needed to support someone who wanted to ingest some data from on of our API's but had tooling that struggled with the authentication bit. While I'm sure there are some off-the-shelf ...
2
votes
1
answer
59
views
3
votes
1
answer
172
views
Get HTTP status of many URLs
I'm brand new to using rust, so please bear with me. I'm trying to write a rust program which takes two arguments: A URL, and a wordlist. This wordlist has the following contents, and is several ...