API and endless karma
Do you know what will happen if you request through the
API information about a user with infinite karma (for example,
habrahabr )?
I recently learned. It turns out that:
Request :
')
GET / api / profile / habrahabr HTTP / 1.1
Host:
www.habrahabr.ru(Any other headlines)
Answer:
HTTP / 1.1
666 This time is full of monsters.Server: nginx / 0.5.19
Date: (current date)
Content-Type: text / html; charset = windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Source: https://habr.com/ru/post/9577/
All Articles