mamantoha / http_proxy

A HTTP Proxy server and client written in Crystal
MIT License
39 stars 6 forks source link

Not Found bug #9

Closed kostya closed 6 years ago

kostya commented 6 years ago
require "http_proxy"
server = HTTP::Proxy::Server.new("127.0.0.1", 8088)
puts "Listening on http://#{server.host}:#{server.port}"
server.listen

Some strange errors when using proxy:

curl --proxy 127.0.0.1:8088 http://ya.ru
Not Found

curl --proxy 127.0.0.1:8088 http://mail.ru
Not Found
<html><body>Redirect...</body></html>

curl --proxy 127.0.0.1:8088 http://ipinfo.io
curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding
mamantoha commented 6 years ago

v0.3.3 :tada: