Skip to content

Conversation

@clue
Copy link
Owner

@clueclue commented Nov 4, 2021

This changeset ensures we always log an empty response body size in the access log when the response body MUST be empty, such as for HEAD requests, 204 No Content and 304 Not Modified.

2021-01-29 12:22:01.717 - "GET /users HTTP/1.1" 304 0 0.000 

Builds on top of #45, #46, #47, #48, #49
Refs reactphp/http#429

@clueclue added the new feature New feature or request label Nov 4, 2021
@clueclue requested a review from SimonFringsNovember 4, 2021 20:37
@SimonFringsSimonFrings merged commit 192296a into clue:mainNov 5, 2021
@SimonFringsSimonFrings deleted the log-no-body branch November 5, 2021 08:06
@SimonFringsSimonFrings added this to the v0.4.0 milestone Mar 5, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new featureNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@clue@SimonFrings