Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow *.ydo actions to return PSGI tuple #211

Closed
hkoba opened this issue Jun 21, 2022 · 0 comments
Closed

Allow *.ydo actions to return PSGI tuple #211

hkoba opened this issue Jun 21, 2022 · 0 comments
Assignees

Comments

@hkoba
Copy link
Owner

hkoba commented Jun 21, 2022

To make *.ydo action more PSGI friendly.

After

return sub {
   my ($this, $CON) = @_;
   my $env = $CON->env;
   # ...
   return [403, [], ["Forbidden!"]];
};

Before

return sub {
   my ($this, $CON) = @_;
   $this->YATT->raise_psgi_error(403, "Forbidden");
};
@hkoba hkoba self-assigned this Jun 21, 2022
hkoba added a commit that referenced this issue Jun 21, 2022
hkoba added a commit that referenced this issue Dec 5, 2023
Changelog diff is:

diff --git a/Changes b/Changes
index db7320c..16fb00b 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,17 @@
 Revision history for YATT::Lite

+0.101_103 2023-12-05
+    * GH-214 - Drop use of deprecated `given` syntax
+    * GH-211 - Allow `*.ydo` to reurn PSGI tuple directly
+    * GH-209 - Fix incorrect error of dynamic module loading while rendering
+    * GH-207 - Fix error_response handling for per_role_docroot mode
+    * GH-206 - Fix is_index mis-detection
+    * GH-205 - `&yatt:script_uri;` now cares HTTP_X_FORWARDED_PROTO
+    * GH-204 - (Emacs) fix yatt-mode background face
+    * GH-203 - Allow loading multiple app.psgi in a process
+
+    * Drop perl 5.10
+
 0.101_102 2020-10-17
     * GH-202 - fixed some test failures
@hkoba hkoba closed this as completed Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant