mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
1.2 KiB
Plaintext
23 lines
1.2 KiB
Plaintext
Bugs to fix:
|
|
- make content-length generation not rely on .available() returning the entire
|
|
size of the body stream's contents -- some sort of wrapper (but how does that
|
|
work for the unscriptable method WriteSegments, which is good to support from
|
|
a performance standpoint?)
|
|
|
|
Ideas for future improvements:
|
|
- mod_cern_meta or Apache asis functionality (probably the former, since
|
|
asis+binary files looks annoying but is a definite want, and line endings are
|
|
likely a pain):
|
|
<http://httpd.apache.org/docs/2.0/mod/mod_cern_meta.html> and
|
|
<http://httpd.apache.org/docs/2.0/mod/mod_asis.html>
|
|
- add API to disable response buffering which, when called, causes errors when
|
|
you try to do anything other than write to the body stream (i.e., modify
|
|
headers or status line) once you've written anything to it -- useful when
|
|
storing the entire response in memory is unfeasible (e.g., you're testing
|
|
>4GB download characteristics)
|
|
- add an API which performs asynchronous response processing (instead of
|
|
nsIHttpRequestHandler.handle, which must construct the response before control
|
|
returns; |void asyncHandle(request, response)|) -- useful, and can it be done
|
|
in JS?
|
|
- other awesomeness?
|