Wireshark-dev: Re: [Wireshark-dev] hf_http_response_code in packet-http.c

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sat, 15 Jul 2017 14:42:59 +0200
Hi all,

I remember a similar discussion around the Contents-Length header some years ago. 
Can’t we make a similar solution here? Then everyone will be happy and we have a backwards compatible solution.

Thanks,
Jaap


> On 13 Jul 2017, at 22:41, Sultan, Hassan via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx> wrote:
> 
> 
> 
> 
>> As Eric explained, having the HTTP response code as a number simply gives you
>> much more advantages (filtering, comparisons, inequalities...) than having it in
>> text. So this is clearly not a bug as it was done on purpose.
> 
> I agree it's not a bug. For the existing purpose of Wireshark it does the job. It just makes some other use-cases a bit more difficult.