2 ms·
Have you never had to send a specific request/response to a server? I've often found it easier to store the request in a text file and pipe it instead of using
by jimktrains2 13y ago
Have you never had to send a specific request/response to a server? I've often found it easier to store the request in a text file and pipe it instead of using curl or another tool to craft it.
When I was a webdev (over the past few years) I did this at least once a month.
I'd daily look at the HTTP headers, though. Also, I'd often add custom headers for debugging purposes.
Edit: It's also not just telnet, it's being able to use simple scripts to automate requests or responses for many reasons.
- comex 13y agoMost likely all HTTP/2.0 servers will continue to support HTTP/1.1 forever, so you will still be able to do this.
- jimktrains2 13y agoAnd clients will need to support it. I feel like the HTTP/1.0 to 1.1 switch allowed for a good deal of code reüse, but this won't.
- comex 13y agoMinimal clients can continue to use HTTP/1.1; full-featured HTTP libraries shouldn't have much trouble adding HTTP/2.0 support.