-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repaste content from 0x0.st #61
Comments
I tested this a bit. It looks like normally the site sends plain text, but it allows you to specify the content type, e.g.: import sqlite3
def main():
with sqlite3.connect(':memory:') as conn:
conn.execute('CREATE TABLE foo (name INTEGER PRIMARY KEY)')
if __name__ == '__main__':
main() ...and still got plaintext, but adding This behavior and the possibility of arbitrary file types makes adding full support to infobob nontrivial, but I could imagine some kind of simplistic detection technique for a limited set of "file types" (the extension in the URL?). One idea could be:
However, based on my logs from this year to date, this site was only used ~27 times, 12 of which were |
This resolves pound-python#61. Also adds retrieveUrlLazy that produces a Request in unbuffered mode to avoid buffering pastes we might not be interested in.
The text was updated successfully, but these errors were encountered: