-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add option to dump response content to a folder #45
Comments
maybe. My main concern would be that while dumping the HTML is easy enough, it takes you half-way to creating an offline version of a given site (dumping assets etc, then relatiivising URLs), and that's a new problem. I think Fink could also be used as a library, and you could f.e.do
but you probably want to use this via. the command, so that would require more refactoring (and itherwise you would currently have to bootstrap the event loop stuff). |
Not against the idea necessarily, it would be convenient, but actually not 100% sure it belongs here (it could fit though) |
If we did, I guess the |
Throwing an Event sounds like a good idea for me and would make it very flexible: Would you use the symfony/event-dispatcher for this or which library do you prefer? |
No, no libraries for this :) We can simply create an interface for the observer (e.g. |
I think this will require some refactoring, still thinking about how to do it... |
I want to use fink not only to check for false response codes. I want also to dump its response content (in my case html) to a file because I want then to use the w3c html5validator to validate this files.
Before investigating into implementing this I would to check if you are open to add this option.
The text was updated successfully, but these errors were encountered: