Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
FetchManagerInterface::fetch does not document the possibility of exceptions. I think we should handle common http exceptions in FetchManager::fetch
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2795175-1.patch | 3.15 KB | webflo |
Comments
Comment #2
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #3
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedI had to remove the NotFoundHttpException() to prevent recursion.
Comment #4
asrobI've successfully applied this patch and it looks good to me. Therefore, RTBC'ed!
Comment #5
asrobI would change its status to "Active". I left a comment at #2464699: Use write & rename instead of write. Also check content length., but I would wait for the maintainers what they think about this issue.
Comment #6
asrobComment #7
asrobAdd related issue.
Comment #8
markdorisonPatch no longer applies cleanly.
Comment #10
geek-merlinRebased and committed.