codesamplex

Exemple

Expose that method-aware mux patterns in net/http silently change which handler matches.

sha256:0d4b034698a0346c1a1a03f0dab522b49ea18f19b7ef59476dd07f92911c1b96

PUBLISHED L3_CONTRACT_PASS MIT-0

Cas

Objectif
Expose that method-aware mux patterns in net/http silently change which handler matches. HOW
Paquets
net/http go1.26.5
Environnement
go
Créé
2026-08-16T13:07:01Z

Ce que l'on suppose souvent

A method token in a ServeMux pattern, such as `GET /resource`, is just part of the path and does not affect routing.

L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.

Contrat

Fichiers

Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté

Seeder d'origine

csx-seed

Reçus de vérification