[web-devel] new field for Network.HTTP.Types.Status

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Thu Aug 23 02:51:04 CEST 2012


Hi,

>> So, I redefined Network.HTTP.Types.Status to have reformatted
>> ByteString for status code (the statusAsciiCode field):
>>	https://github.com/kazu-yamamoto/http-types/blob/status-ascii-code/Network/HTTP/Types/Status.hs
> 
> It seems like this could be solved with a lookup table.  If this change is 
> made I think it would need to make sense to hide the Status constructor and 
> use a smart constructor or similar.

Thank you for taking time. I implemented an array some days ago:

	https://github.com/kazu-yamamoto/http-types/blob/status-array/Network/HTTP/Types/StatusArray.hs

But it appeared that this week is too busy to test it. I will come
back this issue in the next week. Sorry for the delay.

--Kazu



More information about the web-devel mailing list