Commit dcca53e
Send Host: localhost for Unix socket to comply with RFC7230
Unix sockets do not contain an authority component as defined in the
HTTP/1.1 spec, so this change updates the UnixHTTPConnection to comply
with RFC7230 Section 5.4 [1]:
[1] https://tools.ietf.org/html/rfc7230#section-5.41 parent c4313d6 commit dcca53e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
495 | 498 | | |
496 | 499 | | |
497 | 500 | | |
| |||
0 commit comments