darvaza-proxy / x

extra helpers for darvaza projects
MIT License
1 stars 0 forks source link

web/resource: handler for RESTful resources supporting data types and JSON POST forms #40

Closed amery closed 3 months ago

deepsource-io[bot] commented 3 months ago

Here's the code health analysis summary for commits fb14614..bb392dc. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Shell LogoShell✅ SuccessView Check ↗
DeepSource Go LogoGo✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.
amery commented 3 months ago

deepsource didn't understand the generator :-(

amery commented 3 months ago

made deepsource happy regarding the generator and introduce optional content-type negotiation and JSON and HTML rendering support

amery commented 3 months ago

added a RenderHTML helper

amery commented 3 months ago

ParseForm() implementation moved to a dedicated web/forms sub-package, and turned Resource[T].ParseForm() into a shortcut.

amery commented 3 months ago

fixed ParseForm's max memory handling

amery commented 3 months ago

rebased and refactored

amery commented 3 months ago

rebased over #44

amery commented 3 months ago

forms.ParseForm() refactored introducing forms.ReadAll(body, maxBytes)

amery commented 3 months ago

darvaza.org/x/web@v0.5.3