Message129690
| Author |
sdaoden |
| Recipients |
pitrou, sdaoden |
| Date |
2011年02月28日.12:13:46 |
| SpamBayes Score |
0.043153036 |
| Marked as misclassified |
No |
| Message-id |
<1298895227.35.0.0449812619444.issue11351@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It's about the headers[]:
def test_headers(self):
total_sent = 0
sent = os.sendfile(self.sockno, self.fileno, 0, 4096,
headers=[b"x" * 512])
total_sent += sent
print("HEADER SENT:", sent)
prints
test_headers (__main__.TestSendfile) ... HEADER SENT: 4096
Well. 'man 2 sendfile' tells me it is supporting headers and
trailers since Darwin 9.0 aka Mac OS X 10.5. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年02月28日 12:13:47 | sdaoden | set | recipients:
+ sdaoden, pitrou |
| 2011年02月28日 12:13:47 | sdaoden | set | messageid: <1298895227.35.0.0449812619444.issue11351@psf.upfronthosting.co.za> |
| 2011年02月28日 12:13:46 | sdaoden | link | issue11351 messages |
| 2011年02月28日 12:13:46 | sdaoden | create |
|