crawler
crawler copied to clipboard
[BUGFIX] Add new middleware for content finish
This middleware splits the content from the Crawler Initialization Middleware to ensure that the content is written at the end.
This ensures that middleware that expects response-object gets the content for the renders and the crawler queue gets the correct request status.
Resolves: #729
I have
- [x] Checked that CGL are followed
- [x] Checked that the Tests are still working
- [x] Added description to CHANGELOG.md (github-handle is optional)
- [ ] Added tests for the new code
@CDRO I could not assign you as reviewer, would you mind looking at the PR?
@tomasnorre Looks good to me!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
/remove stale
Hi @lochmueller,
I was just looking into stalled PRs, could this perhaps be the solution that would also solve the problem the crawler is causing for the Staticfilecache? #837
I would be happy to hear you feedback.
Hey @tomasnorre This move "the problem" just up in the middleware stack, so StaticFileCache would work. But it still detroy the middleware stack, because a "new response" is created. I send a new pull request incl. a better solution in a few minutes... Regards, Tim
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.