This commit is contained in:
Fred Boniface 2023-02-11 15:39:02 +00:00
parent c52aad6a8e
commit e910b7a84c

View File

@ -16,7 +16,7 @@ def hello():
def fetchCorpus(): def fetchCorpus():
r = requests.get(CORPUS_URL, auth=(CORPUS_USER, CORPUS_PASS)) r = requests.get(CORPUS_URL, auth=(CORPUS_USER, CORPUS_PASS))
## Need to ungzip the response ## Need to ungzip the response - should be able to do with no additional imports
## See: https://stackoverflow.com/questions/40756106/decompress-python-requests-response-with-zlib ## See: https://stackoverflow.com/questions/40756106/decompress-python-requests-response-with-zlib
## Need to return the result ## Need to return the result
return return