python - Verifying that send data is in HTTP (1.0 and 1.1) protocol -
i'm trying write server in python 2.7 receives , verifies client uses http protocol (either 1.1 or 1.0 back upwards has given both).
how can verify client sending "a correct" protocol (either 1.0 or 1.1) , not trying inject code server?
read , implement rfc-2616 carefully. reference http-1.1. if don't utilize eval
or phone call external programs, probability, can inject code low.
python http protocols network-protocols http-protocols
No comments:
Post a Comment