Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adds connection:keep-alive header to produce.py

  • Loading branch information...
commit ffff38429181e8d984cbb30caa68103dbf57f4c5 1 parent f26a0e1
Davis Barber barberdt authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  produce.py
1  produce.py
View
@@ -27,6 +27,7 @@ def produce(hostname, api_key, swarm_id, resource_id, wrap):
conn.putrequest("POST", sel)
conn.putheader("x-bugswarmapikey", api_key)
conn.putheader("transfer-encoding", "chunked")
+ conn.putheader("connection", "keep-alive")
conn.endheaders()
#Sleep required to allow the swarm server time to respond with header
Please sign in to comment.
Something went wrong with that request. Please try again.