Skip to content

Returning status_code in _http_post #24

@DanReia

Description

@DanReia

We had an issue out to have _http_post return a status code however due to the fact that we are sending POST requests in batches, the returned status code will only be that of the last batch.

We should have some logic to check:

  1. If all batch status codes are the same and/or
  2. If any code matches an undesired code and/or
  3. return a full list of all status codes for all batches sent.

Additionally, we are returning a value from a private method that does not get used internally or externally. We should perhaps consider returning the status code/s from the send method as well after _http_post has been called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions