How can I set default header *"Connection:Keep-Alive"* ?

If I set it in Settings.py file 


DEFAULT_REQUEST_HEADERS = {
    'Connection':'Keep-Alive',
    'Accept': 
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    'Accept-Language': 'en',
 }Enter code here...

Result two *Connection:* attributs in header.

<http://i.imgur.com/hpm9N12.png>






*Connection: Close* attribute forces HTTP 504 response from server.


-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scrapy-users+unsubscr...@googlegroups.com.
To post to this group, send email to scrapy-users@googlegroups.com.
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to