Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Added ability to download a section of content data #157
This is handy for writing a program which uses multiple requests to download a file or for previewing data.
added some commits
Nov 7, 2010
I've made changes to ASIHTTPRequest to enable the ability for downloa…
…ding sections of content data. I've also added the option for a requestTimedOut delegate method. Also added some extra values into the copy method.
finished moving section information into sectioninfo and renaming obj…
…ects into shorter versions, have not tested as of yet.
working on timeout test.
created selector to build http request arguments, should possibly add it into the asihttprequest library come to think of it ;) now trying to intergrate more code into asihttprequest to accept the destination filename in a request header.
Modified the readResponseHeaders selector to handle content dispositi…
…on header responses to parse them for a default filename. Added the defaultFilename property.
no syntax errors anymore just linking errors, so getting closer i gue…
…ss? ehhh not much fun!
-Fixed bug of not being able to authenticate with HTTPS servers when the authorization details aren't already in the keychain. -Fixed settings which are saved for threads/sectionsize. -Internal- Got the asihttprequest framework to compile as a dll and had it linking :) As for if it works or not that's another thing.
work progressing on trying to get it to compile for windows, cfauth n…
…eeds to be rewritten i think, ive set this as a low priority to be looked at in the future after mac release.
HUGE change set, happy to say i removed a ton of leaks
Also redesigned the sectionqueue to add asihttprequests to the nsoperationqueue instead of sections - this so that the memory could be released correctly, since sections had to hang around after the nsoperation had completed.
Removed the unnecessary didtimeout selector, I will handle timeouts b…
…y setting max timeouts to 1 and handling timeouts manually.
renamed videohog project to videohog-macosx
deleted old videohog-ios project to make way for new version
The changes I made were apparently on '(no branch)' so I had to merge…
… them back in... Merge commit '13c46ff' Conflicts: .gitmodules Classes/ASIHTTPRequest.h Classes/ASIHTTPRequest.m External/GHUnit
this cfretain/cfrelease block was created because invalid access was …
…occuring after a request was released due to a timeout. the invalid access was occuring inside this code, within the markasfinished function.
removed the retain release calls i added since they did not seem to h…
…elp, the error was bypassed for the time being by immediately canceling the request once the requestFailed delegate was called with the timeout error.
Fixed the default filename when multiple filenames are given in the c…
…ontent disposition header.