you're serving static files with no versioning and with web2py .......

   1. x-powered-by:
   web2py
   


On Wednesday, April 1, 2015 at 4:43:52 AM UTC+2, weheh wrote:
>
> I'm getting a 200 status on the css files that aren't being transferred 
> correctly. Also, on Chrome & Firebug I can't find the same Net tab and view 
> you describe, so I can't find that X-Powered-By line.
>
>
> On Tuesday, March 31, 2015 at 2:09:53 PM UTC-7, Niphlod wrote:
>>
>> You need to activate the "Net" tab ... you're probably inspecting a 304 
>> response, which doesn't carry the header: hit ctrl+f5 to erase the cache 
>> and refresh the page.
>>
>> this is what it returns on my system
>>
>> Cache-ControlprivateConnectionkeep-aliveContent-Length117305Content-Typetext/css;
>>  
>> charset=utf-8DateTue, 31 Mar 2015 21:06:50 GMTLast-ModifiedMon, 16 Mar 
>> 2015 07:42:10 GMTPragmacacheServerRocket 1.2.6 Python/2.7.8X-Powered-By
>> web2py
>>
>> On Tuesday, March 31, 2015 at 10:54:09 PM UTC+2, Dave S wrote:
>>>
>>>
>>>
>>> On Tuesday, March 31, 2015 at 1:34:28 PM UTC-7, Niphlod wrote:
>>>>
>>>> web2py "appends" a X-Powered-By : web2py header.
>>>>
>>>
>>> I'm thinking you are saying that is put into the css file's response 
>>> header; what's the best way to see that?   Firefox's developer tool doesn't 
>>> show headers in the CSS tab, and in the network tab I see just 
>>> "Connection:", "Content-Type:", "Date:", and "Server:" (which is Rocket for 
>>> my case).
>>>
>>> The httpserver.log file for my Web2Py instance does show "GET" requests 
>>> for the CSS files.
>>>
>>> /dps "still wet behind the ears"
>>>
>>>
>>>> On Tuesday, March 31, 2015 at 10:27:25 PM UTC+2, weheh wrote:
>>>>>
>>>>> How do I figure out whether web2py is serving the css files?
>>>>>
>>>>> On Tuesday, March 31, 2015 at 12:39:00 AM UTC-7, Niphlod wrote:
>>>>>>
>>>>>> aside from the fact that that config is uber-simple and not what 
>>>>>> web2py ships usually..... who is serving css's ? apache or web2py ?
>>>>>>
>>>>>> On Tuesday, March 31, 2015 at 7:05:25 AM UTC+2, weheh wrote:
>>>>>>>
>>>>>>> Thanks, Brian. My page does have a lot of ajax calls. The problem 
>>>>>>> seems to be that some of my css files aren't coming through. Firebug 
>>>>>>> says 
>>>>>>> they're being delivered as text/plain instead of text/css. 
>>>>>>> Consequently, 
>>>>>>> the page load incorrectly and users probably bail, causing the IO Error 
>>>>>>> in 
>>>>>>> mod_wsgi. Have you had the css file problem? Here's the actual Firebug 
>>>>>>> error message:
>>>>>>>
>>>>>>> Resource interpreted as Stylesheet but transferred with MIME type 
>>>>>>> text/plain: "https://www.myapp.com/myapp/static/css/web2py.css";.
>>>>>>>
>>>>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to