Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
See
Jonsson, A.; Wallin, Hans, A Whitney extension theorem in (L^p) and Besov spaces, Ann. Inst. Fourier 28, No. 1, 139-192 (1978). ZBL0369.46031.
Proposition 7.1 in Section 7.3 is exactly what you are looking for (and a bit more).
Proposition 7.3 is exactly what you are looking for (and a bit more).