AkamaiOPEN-edgegrid-node
AkamaiOPEN-edgegrid-node copied to clipboard
[#33] handle 413 error
This solves #33 by processing API responses and making sure they are JSON. When an HTML response is encountered, the code builds a standard response and populates the title and httpStatus with the appropriate values, leaving everything else empty.
@dshafik can you review? Thanks!
@dshafik this also fixes #26
Hi @jorgesosa,
Thank you for creating the PR. It's been some time since it got created, and since then we migrated to axios and therefore it's no longer working.
I believe there might be easier fix for this issue, so I will to close this issue and take it from here.
Best Regards
Thanks @majakubiec!