•  
      request #38300 Add "Response" suffix to fetch-result methods
    Infos
    #38300
    Joris MASSON (jmasson)
    2024-06-11 10:02
    2024-06-10 14:52
    39923
    Details
    Add "Response" suffix to fetch-result methods

    In @tuleap/fetch-result, we have added several functions to deal with cases where we do not immediately decode JSON from the server response. Sometimes, the server responds with nothing in the body. Sometimes, we need to compute something based on the headers of the Response.
    We should add a similar function for the GET verb. We should also suffix those functions with *Response: getResponse, putResponse, patchResponse, postResponse to help distinguish them from the other getJSON, postJSON functions.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2024-06-11
    Attachments
    Empty
    References
    Referencing request #38300

    Follow-ups