Skip to content

Add proper HTTP response code validation throughout the codebase #1472

@absurdlylongusername

Description

@absurdlylongusername

Checklist

  • I am aware that this issue is being opened for the NewPipe Extractor, NOT the app, and my feature request will be dismissed otherwise.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Feature description

Issue Feature for tracking all PRs of this

Almost all code that uses the Downloader does not do any checking on the response code: therefore errors and exceptions thrown due to error response code give false information.

This issue is to track the development of adding proper response code validation throughout the extractor.

This issue will be deemed complete once every http network call in the codebase has proper error handling for checking the HTTP response code.

Why do you want this feature?

Better diagnostics and error handling

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    code qualityImprovements to the codebase to improve the code qualityenhancementNew feature or requestmultiserviceIssues related to multiple services

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions