Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

kevinlekiller/Python-NNTPLIB-OVER-Compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-NNTPLIB-OVER-Compression

Quick implementation of header compression (For OVER and XOVER functions) in python 3.3's nntplib, compression is enabled automatically after connecting to usenet, you can disable compression completely by passing a last argument (bool) when creating the NNTP or NNTP_SSL object. See the example.py for how to disable it, leaving it enabled should have no consequences however, it only affects XOVER/OVER.

If the server doesn't support compression headers will still be downloaded, uncompressed.

If the server returns an empty compressed gzip string or if there is a problem decompressing the data an NNTPDataError execption is thrown.

About

Really quick implementation of header compression in python 3.3's nntplib.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages