(response_bytes)
| 25 | |
| 26 | |
| 27 | def gzip_bytes(response_bytes): |
| 28 | with BytesIO() as bio: |
| 29 | with gzip.GzipFile(fileobj=bio, mode="w") as zipper: |
| 30 | zipper.write(response_bytes) |
| 31 | return bio.getvalue() |
| 32 | |
| 33 | |
| 34 | def csv_responder(df): |
no test coverage detected