Resolved: (MODPYTHON-105) mod_python.publisher should not
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Resolved: (MODPYTHON-105) mod_python.publisher should not




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Resolved: (MODPYTHON-105) mod_python.publisher should not  
Jim Gallacher (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-14-06 02:18 AM

[ http://issues.apache.org/jira/brows...ON-105?page=all ]

Jim Gallacher resolved MODPYTHON-105:
-------------------------------------

Fix Version: 3.2
Resolution: Fixed

> mod_python.publisher should not discard content for HEAD request.
> -----------------------------------------------------------------
>
>          Key: MODPYTHON-105
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-105
>      Project: mod_python
>         Type: Bug
>   Components: publisher
>     Versions: 3.2
>     Reporter: Graham Dumpleton
>      Fix For: 3.2

>
> In addressing MODPYTHON-71, mod_python.publisher code was changed to read:
>         if req.method!='HEAD':
>             req.write(result)
> This change should not really have been made and it should be changed back
 to what was there before, ie., just:
>         req.write(result)
> This is because even when HEAD is used, any output is sent through any output filt
ers before Apache finally decides to throw it away. That mod_python.publisher is not
 allowing the data through, may cause issues for any output filters that are doing s
ome
thing with the output and expect it all to be there.
> As an an example of an Apache module that uses output filters to do stuff, there i
s mod_cache. Luckily in that case, a HEAD request is one of various cases where mod_
cache decides it will not use the output. This does not mean though that some other 
out
put filter that someone is using might expect content to be there for HEAD.
> In summary, one could also say that if a user wants to not output anything
 for a HEAD request, that is there decision, but mod_python.publisher should
 not be making that decision for them.
> Because HEAD didn't work before 3.2 anyway, it is possibly not essential that this
 issue be fixed before 3.2 release, but if other changes need to be made, it probabl
y should.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:09 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register