Lispython/human_curl — pull request #30 by wreckah (2013-11-30 20:00:09+00:00)
Title: Tried to fix ValueError: signal only works in main thread

I got the error when I was working in threads:

```python
File "/usr/local/lib/python2.7/dist-packages/human_curl/__init__.py", line 55, in
from .methods import get, put, head, post, delete, request, options
File "/usr/local/lib/python2.7/dist-packages/human_curl/methods.py", line 12, in
from .core import Request
File "/usr/local/lib/python2.7/dist-packages/human_curl/core.py", line 46, in
signal.signal(signal.SIGPIPE, signal.SIG_IGN)
ValueError: signal only works in main thread
```

So I tried to solve it. I'm not sure that my fix is absolutely correct but it works for me.