BramComyn / safeguard-fetch

0 stars 0 forks source link

Document different clients behavior in communication with the ``attack-server`` (content-length) #20

Closed BramComyn closed 1 month ago

BramComyn commented 1 month ago

Description

I will document in more detail which clients state which behavior. See below for more details about which clients I will test. The different cases I will test are specified by the different paths I have made for my attack servers, but can be expanded easily if needed.

Test cases

pathname actual message size (bytes) advertised content-length (bytes)
small difference 200 100
large difference 200 10
infinite difference infinity 200
no content length (finite) 200 /
no content length (infinite) infinity /
no-difference 200 200

The last three cases should pose no problems and are used as a check. I will reuse previous results.

Before starting, I will check whether this is a good idea and whether there are any remarks to the way I am trying to document or test.

Remarks

TODO