Custom Headers #899
Replies: 3 comments 1 reply
-
#887 has been merged. #885 suggested some alternative syntax (semicolon-separated values) which I'd like to also incorporate has long as it doesn't conflict with the curl convention used by 887 or valid characters for the header names and values themselves. |
Beta Was this translation helpful? Give feedback.
-
@dxdxdt can you look into this?
|
Beta Was this translation helpful? Give feedback.
-
@KernelDeimos Hi, It's hard to determine the cause in the log you posted, but as I was running the test myself on my local machine, I realised that the tests sometimes fail because the program fails to bind the server socket. During the run, the process exits and starts again quite aggressively. And to make the matters worse, the tests cannot be run in parallel because the program tries to bind to from 8080 incrementally. This isn't so efficient, when it comes to running the tests. Just occurred to me that we can solve the issue by binding to the TCP port 0 for testing purposes. The kernel will select a port from the ephemeral range. This should be the standard on all platforms. The test unit can parse the output to get the port for testing. If the problem is still there and you'd want me to fix it, please open an issue. Otherwise, let's just call it and forget about it. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm opening a discussion for custom headers, which is a highly requested feature for
http-server
.Beta Was this translation helpful? Give feedback.
All reactions