Skip to content

Commit

Permalink
https://github.com/danieleteti/delphimvcframework/issues/438
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Oct 19, 2020
1 parent 5ae105d commit 5f21c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ Congratulations to Daniele Teti and all the staff for the excellent work!" -- Ma

- Fix for [issue436](https://github.com/danieleteti/delphimvcframework/issues/436).

- Fix for [issue438](https://github.com/danieleteti/delphimvcframework/issues/438) (Thanks to [jadeade](https://github.com/jadeade))

- Added dynamic properties access to `TMVCActiveRecord` descendants. Indexed property `Attributes` is index using the property name and set/get a `TValue` representing the property value.

```delphi
Expand Down
2 changes: 1 addition & 1 deletion sources/MVCFramework.RESTClient.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ function TRESTClient.SendHTTPCommand(const ACommand: TMVCHTTPMethodType;
Result.UpdateResponseText(FHTTP.Response.ResponseText);
Result.UpdateHeaders(FHTTP.Response.RawHeaders);

if Result.ContentEncoding.IsEmpty then
if Result.ContentEncoding.IsEmpty or (Result.ContentEncoding = 'identity') then
Exit;

if Result.ContentEncoding = 'deflate' then
Expand Down

0 comments on commit 5f21c12

Please sign in to comment.