Vasiliy Faronov

Results 22 issues of Vasiliy Faronov

This is such an obvious, obviously useful tool. I just had one of those semi-regular boats of “this tool must exist”, but this time I decided to actually search for...

Given the following `toy.go`: ``` package toy import "math/rand" func Foo() string { switch rand.Intn(2) { case 0: return "zero" case 1: return "one" } panic("impossible") } ``` and the...

##### Steps to reproduce the problem: 1. run `mitmproxy` 2. type `O` — the options editor opens 3. move the cursor down to `replacements` 4. press Enter — a list...

kind/bug
help wanted
area/console

1. Start tcpflow (master) like this: ``` $ tcpflow -T'%t-%#-%A-%B' port 80` ``` 2. Send data to the same host+port on two different connections in parallel: ``` $ nc 54.175.219.8...

This may be out of scope for you, but personally I like the ability to instantiate single files—such as scripts—without any containing directories. As far as I understand, this is...

enhancement

Bug: 1. In _Preferences_ → _Item List_, check _Load specified tabs instead of saved_. 2. Add two directories — let’s say `/usr` and `/etc` — and check _Left list_ for...

bug

Right now h11 raises a `LocalProtocolError` if you try to send a non-empty `Data` event in response to a HEAD request. This can be a nuisance in a catch-all handler,...

``` import h11 conn = h11.Connection(our_role=h11.CLIENT) conn.send(h11.Request(method='GET', target='/', headers=[('Host', 'foo')])) conn.send(h11.EndOfMessage()) conn.receive_data(b'') try: conn.next_event() except h11.RemoteProtocolError as exc: print(exc.error_status_hint) ``` This prints: ``` 400 ``` The `error_status_hint` might make sense...

[`hyper.common.headers.canonical_form`](https://github.com/Lukasa/hyper/blob/04f32667c94fd745135f75d7c5340c87c67e9763/hyper/common/headers.py#L239): > the header is split on commas unless for any reason it's a super-special snowflake (I'm looking at you Set-Cookie) This seems to be inspired by text from [RFC...

[RFC 7234 § 5.1](http://tools.ietf.org/html/rfc7234#section-5.1): > The presence of an Age header field implies that the response was not generated or validated by the origin server for this request. However, Polipo...