Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Imposible to use raw data in AbstractRestfulController in some cases #42

Closed
svycka opened this issue Oct 30, 2015 · 3 comments
Closed

Comments

@svycka
Copy link
Contributor

svycka commented Oct 30, 2015

here

is unreachable code

parse_str($content, $parsedParams); // returned $parsedParams keys not indexes

there are only one way to get raw response if $content is something like 0=something otherwise if $content = 'foo' or similar parse_str() will return ['foo' => '']

@svycka
Copy link
Contributor Author

svycka commented Oct 30, 2015

for example if you use:

public function update($name, $data) {
    // here $data is always array but sometimes I need just a string or xml or something.. I want raw data
}

@svycka
Copy link
Contributor Author

svycka commented Feb 23, 2016

ping @weierophinney or someone any response?

@weierophinney
Copy link
Member

Fixed with #43

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants