No description
- PureBasic 100%
Bisher: HEAD -> 405 (RFC 7231 Sec 4.3.2 verletzt; GET-Routen sollten HEAD beantworten). Monitoring/CDNs/Link-Checker nutzen HEAD. Umsetzung (protokolluebergreifend via die zwei Lib-Chokepoints): - _MatchRoute: HEAD faellt auf GET-Routen zurueck (Handler laeuft normal). - _DispatchRequest (unified fuer H1/H2/H3): thread-lokales _tl_req_is_head aus req method_id setzen, am Ende zuruecksetzen (kein stale-true fuer spaetere async/Nicht-Dispatch-Responses). - PrepareResponse: _tl_req_is_head auf response is_head stempeln. - SendResponse: bei is_head Content-Length aus body_length fixieren, dann body=Null/body_length=0 -> alle drei Protokoll-Pfade senden Header (inkl. korrekter Content-Length) aber keinen Body (wie 204/304). H3-CL-Logik (nur bei body_length>0) ueberschreibt die gesetzte CL nicht. - HTTP_Response: Feld is_head.b. Gilt auch fuer 404/405/503-Responses. make test gruen (89/0). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| ACME_Protokoll.pbi | ||
| H2_Frame.pbi | ||
| H2_Stream.pbi | ||
| H3_Frame.pbi | ||
| H3_Stream.pbi | ||
| HPACK_Codec.pbi | ||
| HTTP_Client.pbi | ||
| HTTP_PKI.pbi | ||
| HTTP_Protokoll.pbi | ||
| HTTP_Server.pbi | ||
| HTTP_Version.pbi | ||
| QPACK_Codec.pbi | ||
| WS_Connection.pbi | ||
| WS_Deflate.pbi | ||
| WS_Frame.pbi | ||