You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spec says [1] the response.bodySize should be 0. Because of this, it would be impossible to determine if there actually was 0 bytes of message payload for this response, or if the HTTP server erroneously sent a message payload with a HTTP 304 response [2].
bodySize [number] - Size of the received response body in bytes. Set to zero in case of responses coming from the cache (304). Set to -1 if the info is not available.
A 304 response cannot contain a message-body; it is always terminated by the first empty line after the header fields.
The text was updated successfully, but these errors were encountered:
gitgrimbo
changed the title
Invalid response.bodySIze in softwareishard.com.har sample HAR
Invalid response.bodySize in softwareishard.com.har sample HAR
Oct 23, 2018
TL;DR - Probably should replace this (and possibly other) invalid sample HARs with spec-compliant ones.
https://github.com/janodvarko/harviewer/blob/aa648ee1bcc38dac6f0c66a80c1f026afe0edb77/webapp/examples/softwareishard.com.har#L2715..L2773
response.status=304
,response.bodySize=7676
Spec says [1] the
response.bodySize
should be0
. Because of this, it would be impossible to determine if there actually was0
bytes of message payload for this response, or if the HTTP server erroneously sent a message payload with a HTTP 304 response [2].The text was updated successfully, but these errors were encountered: