Last active
June 15, 2024 18:31
-
-
Save GaelGirodon/8ba17790f1b1db412e2d99fa8f806357 to your computer and use it in GitHub Desktop.
htmx issue - Duplicated requests - Minimal reproducible example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Page 1</title> | |
<script src="https://unpkg.com/htmx.org@1.9.12" integrity="sha384-ujb1lZYygJmzgSwoxRggbCHcjc0rB2XoQrxeTUQyRjrOnlCoYta87iKBWq3EsdM2" crossorigin="anonymous"></script> | |
</head> | |
<body hx-boost="true"> | |
<ul> | |
<li><a href="page1.php">Page 1</a></li> | |
<li><a href="page2.php">Page 2</a></li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include "_head.php" ?> | |
<h1>Page 1</h1> | |
<img src="/stream.php" title="Stream" | |
alt="Stream is unavailable" /> | |
<?php include "_foot.php" ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include "_head.php" ?> | |
<h1>Page 2</h1> | |
<?php include "_foot.php" ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
http_response_code(502); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment