<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/atom.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:fh="http://purl.org/syndication/history/1.0">
  <title>Posts tagged: flask Archive</title>
  <id>https://new.waylonwalker.com/tags/flask/archive/atom.xml</id>
  <updated>2023-07-28T19:59:37Z</updated>
  <subtitle>All posts with the tag &#34;flask&#34;</subtitle>
  <link href="https://new.waylonwalker.com/tags/flask/" rel="alternate" type="text/html"></link>
  <link href="https://new.waylonwalker.com/tags/flask/archive/atom.xml" rel="self" type="application/atom+xml"></link>
  <link href="https://new.waylonwalker.com/tags/flask/atom.xml" rel="current" type="application/atom+xml"></link>
  <author>
    <name>Waylon Walker</name>
  </author>
  <generator uri="https://github.com/WaylonWalker/markata-go">markata-go</generator>
  <fh:complete></fh:complete>
  <entry>
    <title>Flask Trailing Slashes 404</title>
    <id>https://new.waylonwalker.com/thought-7/</id>
    <updated>2023-07-28T19:59:37Z</updated>
    <published>2023-07-28T19:59:37Z</published>
    <link href="https://new.waylonwalker.com/thought-7/" rel="alternate" type="text/html"></link>
    <summary type="text">!https://stackoverflow.com/questions/33241050/trailing-slash-triggers-404-in-flask-path-rule</summary>
    <content type="html">&lt;div class=&#34;embed-card embed-card-external&#34;&gt;&#xA;  &lt;a class=&#34;embed-card-link  has-avatar has-avatar-before&#34; href=&#34;https://stackoverflow.com/questions/33241050/trailing-slash-triggers-404-in-flask-path-rule&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/stackoverflow.com.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/stackoverflow.com.ico&#34;&gt;&#xA;    &lt;div class=&#34;embed-card-content&#34;&gt;&#xA;      &lt;div class=&#34;embed-card-title&#34;&gt;External Link&lt;/div&gt;&#xA;      &lt;div class=&#34;embed-card-meta&#34;&gt;stackoverflow.com&lt;/div&gt;&#xA;    &lt;/div&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;In flask apps I often get a 404 for routes with a trailing slash.  This Stack Overflow post shows how to configure flask to allow trailing slashes on some or all routes.&lt;/p&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
</feed>