Implementation of wheezy.http.HTTPResponse is too simple

Issue #4 invalid
lovelylain
created an issue

difficult to check whether a key was already set, lacks support to serve large static files without reading whole file to memory.

Comments (5)

  1. Andriy Kornatskyy repo owner

    difficult to check whether a key was already set

    not sure I understand that you mean here...

    lacks support to serve large static files without reading whole file to memory

    how about using web server (e.g. nginx) for this purpose?

  2. Andriy Kornatskyy repo owner

    I agree. I think the use case when you need to check for particular header is wrong. The reason is that no one but you know what headers will be in response so double check seems to be redundant. Theoretically, there might be two features that may conflict with each other by settings some header, but practically I never run into the issue like this... of cause there are exceptions from rule but I guess it is minor one.

  3. Log in to comment