Skip to content

response codes not working all the time #31

Open

Description

@hgarcia101685

Hi,
Great library! I'm noticing that the parsing of the response codes doesn't always work for me. When I get a 200 , it seems to work fine. However when I get a 201 response code, I see the following output:

Application> Start of Loop.
Application> Response status: -1
Application> HTTP Response Body:
Waiting until next time

This is interesting because I can see that my data is actually being sent to my API fine. The status codes just aren't being parsed for some reason. In your inline comments you mention that you are using a non-elegant way of figuring out the status codes. I'm actually considering contributing, if you are open to contributions. I wanted to bring the issue to your attention first though. Thanks again for this great library.

Activity

  1. nmattisson commented on Jul 26, 2016

    @nmattisson
    Owner

    Hi,
    I just merged commit 988a481 from @Undergrid which influences how status codes are parsed. Can you see if the problem persists with the new code?

  2. hgarcia101685 commented on Jul 30, 2016

    @hgarcia101685
    Author

    Hi,
    Sorry for the late reply. I am using build.particle.io to write code for a
    particle.io device. It shows HTTP Client 0.0.5, I don't see anything in
    your releases folder, so I wanted to ask is 0.0.5 was the version that had
    the update you mentioned in your previous email ? Thanks!

    On Tue, Jul 26, 2016 at 12:44 AM, Nils Mattisson notifications@github.com
    wrote:

    Hi,
    I just merged commit 988a481
    988a481
    from @Undergrid https://github.com/Undergrid which influences how
    status codes are parsed. Can you see if the problem persists with the new
    code?

    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub
    #31 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe-auth/AJqdJxDZ45IqSQDl1DktnlburUeyBKygks5qZbrsgaJpZM4JUwtQ
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions