Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

adds connection:keep-alive header to produce.py

  • Loading branch information...
commit ffff38429181e8d984cbb30caa68103dbf57f4c5 1 parent f26a0e1
Davis Barber barberdt authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  produce.py
1  produce.py
@@ -27,6 +27,7 @@ def produce(hostname, api_key, swarm_id, resource_id, wrap):
27 27 conn.putrequest("POST", sel)
28 28 conn.putheader("x-bugswarmapikey", api_key)
29 29 conn.putheader("transfer-encoding", "chunked")
  30 + conn.putheader("connection", "keep-alive")
30 31 conn.endheaders()
31 32
32 33 #Sleep required to allow the swarm server time to respond with header

0 comments on commit ffff384

Please sign in to comment.
Something went wrong with that request. Please try again.