Kong / Kong/analytics-agent-ruby

`request.content` doesn't exist in ALF

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

See https://github.com/Mashape/analytics-agent-ruby/blob/master/lib/mashape-analytics/frameworks/rack.rb#L214-216

Must be request.postData. http://www.softwareishard.com/blog/har-12-spec/#postData

Must also be base64'ed no matter what. https://github.com/Mashape/analytics-agent-spec#bodies

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect lib/mashape-analytics/frameworks/rack.rb at lines 214-216 and compare the request body mapping with the linked HAR postData specification. Done means using request.postData instead of request.content and base64-encoding it in all cases, consistent with the analytics-agent-spec bodies guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.