erlyaws / yaws

Yaws webserver
https://erlyaws.github.io
BSD 3-Clause "New" or "Revised" License
1.28k stars 267 forks source link

[feature] Make Arg returned from out/1 more useful #323

Closed leoliu closed 6 years ago

leoliu commented 6 years ago

Commit 0e1a7c3c4b60c56e25349fb1c9a739c539425556: Fix handle_out_reply/5 function added a comment if RetVal == #arg{}, replace ARG in recursion. I have found this desirable.

I have a root appmod that does a bunch of stuff among them store some data in #arg.state but I can't find a way to have it available to out/1 function, for example, in {yssi, "products.yaws"}. Thoughts?

leoliu commented 6 years ago

@vinoski Thanks a lot.

leoliu commented 6 years ago

I wonder if the man page for yaws_api needs update for this change?

vinoski commented 6 years ago

Updated the yaws_api man page and the yaws.tex documentation in 9158f55.

leoliu commented 6 years ago

Thanks Steve.